package com.yjd.bi.report.service;

import com.yjd.bi.report.model.BiDataChangeRecordModel;

/**
 * <b>description</b>：数据变更记录处理，数据迁移 <br>
 * <b>time</b>：2016-4-14下午4:06:03 <br>
 * <b>author</b>： ready likun_557@163.com
 */
public interface IDataChangeRecordDisposeService {
	/**
	 * 根据BiDataChangeRecordModel将数据迁移至bi库，内部发生异常表示失败
	 * 
	 * @param dcr
	 * @return
	 * @throws Exception
	 */
	public boolean dispose(BiDataChangeRecordModel dcr) throws Exception;

	/**
	 * 将bi库处理完毕以及处理失败的数据移到日志表中
	 * 
	 * @throws Exception
	 */
	public void moveDisposedToLog() throws Exception;
}
